<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
    <table>
          <thead>
            <tr>
              <th>Id</th>
              <th>Name</th>
              <th>Age</th>
            </tr>
          </thead>
          <tbody>
            <tr th:each="user : ${users}">
              <td th:text="${user.id}">Oranges</td>
              <td th:text="${user.userName}">12</td>
              <td th:text="${user.age}">12</td>
            </tr>
          </tbody>
        </table>
</body>
</html>